package com.cskaoyan.model.admin.bo;


import java.util.List;

public class GoodsUpdateBO {
    /**
     * goods : {"brief":"差旅好伴侣","keywords":null,"addTime":"2018-01-31T16:00:00.000+00:00","goodsSn":"1152031","updateTime":"2018-01-31T16:00:00.000+00:00","isNew":false,"picUrl":"http://yanxuan.nosdn.127.net/fd6e78a397bd9e9804116a36f0270b0a.png","unit":"件","deleted":false,"brandId":null,"sortOrder":4,"name":"魔兽世界-伊利丹颈枕眼罩套装","shareUrl":"","counterPrice":119,"id":1152031,"detail":"<p>aaa<\/p>","isOnSale":true,"retailPrice":99,"categoryId":1008008,"gallery":"[\"http://yanxuan.nosdn.127.net/06c4dae19c2a229ca1819a7b8e8efddd.png\", \"http://yanxuan.nosdn.127.net/06c4dae19c2a229ca1819a7b8e8efddd.png\", \"http://yanxuan.nosdn.127.net/06c4dae19c2a229ca1819a7b8e8efddd.png\", \"http://yanxuan.nosdn.127.net/06c4dae19c2a229ca1819a7b8e8efddd.png\", \"http://yanxuan.nosdn.127.net/06c4dae19c2a229ca1819a7b8e8efddd.png\"]","isHot":true}
     * attributes : [{"attribute":"121","value":"1212"}]
     * specifications : [{"picUrl":"","deleted":false,"addTime":"2018-01-31T16:00:00.000+00:00","goodsId":1152031,"specification":"规格","updateTime":"2018-01-31T16:00:00.000+00:00","id":233,"value":"标准"}]
     * products : [{"number":100,"deleted":false,"addTime":"2018-01-31T16:00:00.000+00:00","goodsId":1152031,"price":99,"updateTime":"2018-01-31T16:00:00.000+00:00","id":234,"specifications":"[\"标准\"]","url":"http://yanxuan.nosdn.127.net/fd6e78a397bd9e9804116a36f0270b0a.png"}]
     */
    private GoodsEntity goods;
    private List<AttributesEntity> attributes;
    private List<SpecificationsEntity> specifications;
    private List<ProductsEntity> products;

    public void setGoods(GoodsEntity goods) {
        this.goods = goods;
    }

    public void setAttributes(List<AttributesEntity> attributes) {
        this.attributes = attributes;
    }

    public void setSpecifications(List<SpecificationsEntity> specifications) {
        this.specifications = specifications;
    }

    public void setProducts(List<ProductsEntity> products) {
        this.products = products;
    }

    public GoodsEntity getGoods() {
        return goods;
    }

    public List<AttributesEntity> getAttributes() {
        return attributes;
    }

    public List<SpecificationsEntity> getSpecifications() {
        return specifications;
    }

    public List<ProductsEntity> getProducts() {
        return products;
    }

    public static class GoodsEntity {
        /**
         * brief : 差旅好伴侣
         * keywords : null
         * addTime : 2018-01-31T16:00:00.000+00:00
         * goodsSn : 1152031
         * updateTime : 2018-01-31T16:00:00.000+00:00
         * isNew : false
         * picUrl : http://yanxuan.nosdn.127.net/fd6e78a397bd9e9804116a36f0270b0a.png
         * unit : 件
         * deleted : false
         * brandId : null
         * sortOrder : 4
         * name : 魔兽世界-伊利丹颈枕眼罩套装
         * shareUrl :
         * counterPrice : 119
         * id : 1152031
         * detail : <p>aaa</p>
         * isOnSale : true
         * retailPrice : 99
         * categoryId : 1008008
         * gallery : ["http://yanxuan.nosdn.127.net/06c4dae19c2a229ca1819a7b8e8efddd.png", "http://yanxuan.nosdn.127.net/06c4dae19c2a229ca1819a7b8e8efddd.png", "http://yanxuan.nosdn.127.net/06c4dae19c2a229ca1819a7b8e8efddd.png", "http://yanxuan.nosdn.127.net/06c4dae19c2a229ca1819a7b8e8efddd.png", "http://yanxuan.nosdn.127.net/06c4dae19c2a229ca1819a7b8e8efddd.png"]
         * isHot : true
         */
        private String brief;
        private String keywords;
        private String addTime;
        private String goodsSn;
        private String updateTime;
        private boolean isNew;
        private String picUrl;
        private String unit;
        private boolean deleted;
        private String brandId;
        private int sortOrder;
        private String name;
        private String shareUrl;
        private int counterPrice;
        private int id;
        private String detail;
        private boolean isOnSale;
        private int retailPrice;
        private int categoryId;
        private String gallery;
        private boolean isHot;

        public void setBrief(String brief) {
            this.brief = brief;
        }

        public void setKeywords(String keywords) {
            this.keywords = keywords;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public void setGoodsSn(String goodsSn) {
            this.goodsSn = goodsSn;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public void setIsNew(boolean isNew) {
            this.isNew = isNew;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public void setBrandId(String brandId) {
            this.brandId = brandId;
        }

        public void setSortOrder(int sortOrder) {
            this.sortOrder = sortOrder;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setShareUrl(String shareUrl) {
            this.shareUrl = shareUrl;
        }

        public void setCounterPrice(int counterPrice) {
            this.counterPrice = counterPrice;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setDetail(String detail) {
            this.detail = detail;
        }

        public void setIsOnSale(boolean isOnSale) {
            this.isOnSale = isOnSale;
        }

        public void setRetailPrice(int retailPrice) {
            this.retailPrice = retailPrice;
        }

        public void setCategoryId(int categoryId) {
            this.categoryId = categoryId;
        }

        public void setGallery(String gallery) {
            this.gallery = gallery;
        }

        public void setIsHot(boolean isHot) {
            this.isHot = isHot;
        }

        public String getBrief() {
            return brief;
        }

        public String getKeywords() {
            return keywords;
        }

        public String getAddTime() {
            return addTime;
        }

        public String getGoodsSn() {
            return goodsSn;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public boolean isIsNew() {
            return isNew;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public String getUnit() {
            return unit;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public String getBrandId() {
            return brandId;
        }

        public int getSortOrder() {
            return sortOrder;
        }

        public String getName() {
            return name;
        }

        public String getShareUrl() {
            return shareUrl;
        }

        public int getCounterPrice() {
            return counterPrice;
        }

        public int getId() {
            return id;
        }

        public String getDetail() {
            return detail;
        }

        public boolean isIsOnSale() {
            return isOnSale;
        }

        public int getRetailPrice() {
            return retailPrice;
        }

        public int getCategoryId() {
            return categoryId;
        }

        public String getGallery() {
            return gallery;
        }

        public boolean isIsHot() {
            return isHot;
        }
    }

    public static class AttributesEntity {
        /**
         * attribute : 121
         * value : 1212
         */
        private Integer id;
        private String attribute;
        private String value;

        public void setAttribute(String attribute) {
            this.attribute = attribute;
        }

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getAttribute() {
            return attribute;
        }

        public String getValue() {
            return value;
        }
    }

    public static class SpecificationsEntity {
        /**
         * picUrl :
         * deleted : false
         * addTime : 2018-01-31T16:00:00.000+00:00
         * goodsId : 1152031
         * specification : 规格
         * updateTime : 2018-01-31T16:00:00.000+00:00
         * id : 233
         * value : 标准
         */
        private String picUrl;
        private boolean deleted;
        private String addTime;
        private int goodsId;
        private String specification;
        private String updateTime;
        private int id;
        private String value;

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public void setSpecification(String specification) {
            this.specification = specification;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public String getAddTime() {
            return addTime;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public String getSpecification() {
            return specification;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public int getId() {
            return id;
        }

        public String getValue() {
            return value;
        }
    }

    public static class ProductsEntity {
        /**
         * number : 100
         * deleted : false
         * addTime : 2018-01-31T16:00:00.000+00:00
         * goodsId : 1152031
         * price : 99
         * updateTime : 2018-01-31T16:00:00.000+00:00
         * id : 234
         * specifications : ["标准"]
         * url : http://yanxuan.nosdn.127.net/fd6e78a397bd9e9804116a36f0270b0a.png
         */
        private int number;
        private boolean deleted;
        private String addTime;
        private int goodsId;
        private int price;
        private String updateTime;
        private int id;
        private String specifications;
        private String url;

        public void setNumber(int number) {
            this.number = number;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setSpecifications(String specifications) {
            this.specifications = specifications;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public int getNumber() {
            return number;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public String getAddTime() {
            return addTime;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public int getPrice() {
            return price;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public int getId() {
            return id;
        }

        public String getSpecifications() {
            return specifications;
        }

        public String getUrl() {
            return url;
        }
    }




    /*
    *//**
     * goods : {"brief":"12121","keywords":null,"addTime":"2021-12-01 20:08:07","goodsSn":"3434747","updateTime":"2021-12-01 22:22:50","isNew":true,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/ot7ouwyx5ody30cwmbyg.jpg","unit":"\u2019件\u2018","deleted":false,"brandId":1001012,"sortOrder":100,"name":"画幅","shareUrl":"","counterPrice":0,"id":1181029,"detail":"<p>121212<\/p>","isOnSale":true,"retailPrice":0,"categoryId":1036022,"gallery":["http://182.92.235.201:8083/wx/storage/fetch/kcspopcwxf163tl9fra1.jpg","http://182.92.235.201:8083/wx/storage/fetch/lb4xsh9gkjedf7q7jnlq.jpg"],"isHot":false}
     * attributes : [{"attribute":"1212","value":"121212"}]
     * specifications : [{"picUrl":"","deleted":false,"addTime":"2021-12-01 20:08:07","goodsId":1181029,"specification":"规格","updateTime":"2021-12-01 20:08:07","id":284,"value":"标准"}]
     * products : [{"number":0,"deleted":false,"addTime":"2021-12-01 20:08:07","goodsId":1181029,"price":0,"updateTime":"2021-12-01 20:08:07","id":276,"specifications":["标准"],"url":""}]
     *//*
    private GoodsEntity goods;
    private List<AttributesEntity> attributes;
    private List<SpecificationsEntity> specifications;
    private List<ProductsEntity> products;

    public void setGoods(GoodsEntity goods) {
        this.goods = goods;
    }

    public void setAttributes(List<AttributesEntity> attributes) {
        this.attributes = attributes;
    }

    public void setSpecifications(List<SpecificationsEntity> specifications) {
        this.specifications = specifications;
    }

    public void setProducts(List<ProductsEntity> products) {
        this.products = products;
    }

    public GoodsEntity getGoods() {
        return goods;
    }

    public List<AttributesEntity> getAttributes() {
        return attributes;
    }

    public List<SpecificationsEntity> getSpecifications() {
        return specifications;
    }

    public List<ProductsEntity> getProducts() {
        return products;
    }

    public static class GoodsEntity {
        *//**
         * brief : 12121
         * keywords : null
         * addTime : 2021-12-01 20:08:07
         * goodsSn : 3434747
         * updateTime : 2021-12-01 22:22:50
         * isNew : true
         * picUrl : http://182.92.235.201:8083/wx/storage/fetch/ot7ouwyx5ody30cwmbyg.jpg
         * unit : ’件‘
         * deleted : false
         * brandId : 1001012
         * sortOrder : 100
         * name : 画幅
         * shareUrl : 
         * counterPrice : 0
         * id : 1181029
         * detail : <p>121212</p>
         * isOnSale : true
         * retailPrice : 0
         * categoryId : 1036022
         * gallery : ["http://182.92.235.201:8083/wx/storage/fetch/kcspopcwxf163tl9fra1.jpg","http://182.92.235.201:8083/wx/storage/fetch/lb4xsh9gkjedf7q7jnlq.jpg"]
         * isHot : false
         *//*
        private String brief;
        private String keywords;
        private String addTime;
        private String goodsSn;
        private String updateTime;
        private boolean isNew;
        private String picUrl;
        private String unit;
        private boolean deleted;
        private int brandId;
        private int sortOrder;
        private String name;
        private String shareUrl;
        private int counterPrice;
        private int id;
        private String detail;
        private boolean isOnSale;
        private int retailPrice;
        private int categoryId;
        private String[] gallery;
        private boolean isHot;

        public void setBrief(String brief) {
            this.brief = brief;
        }

        public void setKeywords(String keywords) {
            this.keywords = keywords;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public void setGoodsSn(String goodsSn) {
            this.goodsSn = goodsSn;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public void setIsNew(boolean isNew) {
            this.isNew = isNew;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public void setBrandId(int brandId) {
            this.brandId = brandId;
        }

        public void setSortOrder(int sortOrder) {
            this.sortOrder = sortOrder;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setShareUrl(String shareUrl) {
            this.shareUrl = shareUrl;
        }

        public void setCounterPrice(int counterPrice) {
            this.counterPrice = counterPrice;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setDetail(String detail) {
            this.detail = detail;
        }

        public void setIsOnSale(boolean isOnSale) {
            this.isOnSale = isOnSale;
        }

        public void setRetailPrice(int retailPrice) {
            this.retailPrice = retailPrice;
        }

        public void setCategoryId(int categoryId) {
            this.categoryId = categoryId;
        }

        public void setGallery(String[] gallery) {
            this.gallery = gallery;
        }

        public void setIsHot(boolean isHot) {
            this.isHot = isHot;
        }

        public String getBrief() {
            return brief;
        }

        public String getKeywords() {
            return keywords;
        }

        public String getAddTime() {
            return addTime;
        }

        public String getGoodsSn() {
            return goodsSn;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public boolean isIsNew() {
            return isNew;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public String getUnit() {
            return unit;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public int getBrandId() {
            return brandId;
        }

        public int getSortOrder() {
            return sortOrder;
        }

        public String getName() {
            return name;
        }

        public String getShareUrl() {
            return shareUrl;
        }

        public int getCounterPrice() {
            return counterPrice;
        }

        public int getId() {
            return id;
        }

        public String getDetail() {
            return detail;
        }

        public boolean isIsOnSale() {
            return isOnSale;
        }

        public int getRetailPrice() {
            return retailPrice;
        }

        public int getCategoryId() {
            return categoryId;
        }

        public String[] getGallery() {
            return gallery;
        }

        public boolean isIsHot() {
            return isHot;
        }
    }

    public static class AttributesEntity {
        *//**
         * attribute : 1212
         * value : 121212
         *//*
        private String attribute;
        private String value;
        private Integer id;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public void setAttribute(String attribute) {
            this.attribute = attribute;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getAttribute() {
            return attribute;
        }

        public String getValue() {
            return value;
        }
    }

    public static class SpecificationsEntity {
        *//**
         * picUrl : 
         * deleted : false
         * addTime : 2021-12-01 20:08:07
         * goodsId : 1181029
         * specification : 规格
         * updateTime : 2021-12-01 20:08:07
         * id : 284
         * value : 标准
         *//*
        private String picUrl;
        private boolean deleted;
        private String addTime;
        private int goodsId;
        private String specification;
        private String updateTime;
        private int id;
        private String value;

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public void setSpecification(String specification) {
            this.specification = specification;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public String getAddTime() {
            return addTime;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public String getSpecification() {
            return specification;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public int getId() {
            return id;
        }

        public String getValue() {
            return value;
        }
    }

    public static class ProductsEntity {
        *//**
         * number : 0
         * deleted : false
         * addTime : 2021-12-01 20:08:07
         * goodsId : 1181029
         * price : 0
         * updateTime : 2021-12-01 20:08:07
         * id : 276
         * specifications : ["标准"]
         * url : 
         *//*
        private int number;
        private boolean deleted;
        private String addTime;
        private int goodsId;
        private int price;
        private String updateTime;
        private int id;
        private String[] specifications;
        private String url;

        public void setNumber(int number) {
            this.number = number;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setSpecifications(String[] specifications) {
            this.specifications = specifications;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public int getNumber() {
            return number;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public String getAddTime() {
            return addTime;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public int getPrice() {
            return price;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public int getId() {
            return id;
        }

        public String[] getSpecifications() {
            return specifications;
        }

        public String getUrl() {
            return url;
        }
    }*/
}
